﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="register.aspx.cs" Inherits="UI.Login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <link href="App_Data/mui.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <h2>用户注册</h2>
        </div>
        <asp:Label ID="lb_username" runat="server" Text="用户名"></asp:Label>
        <p>
            <asp:TextBox ID="txt_username" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txt_username" ErrorMessage="用户名不能为空" ForeColor="Red"></asp:RequiredFieldValidator>
        </p>
        <asp:Label ID="lb_phone" runat="server" Text="手机号"></asp:Label>
        <p>
            <asp:TextBox ID="txt_phone" runat="server" TextMode="Phone"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="手机号不能为空" ControlToValidate="txt_phone" ForeColor="Red"></asp:RequiredFieldValidator>
        </p>
        <asp:Label ID="lb_password" runat="server" Text="密码"></asp:Label>
        <p>
            <asp:TextBox ID="txt_password" runat="server" TextMode="Password"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="密码不能为空" ControlToValidate="txt_password" ForeColor="Red"></asp:RequiredFieldValidator>
        </p>
        <asp:Label ID="lb_auth" runat="server" Text="验证码"></asp:Label>
        <p>
            <asp:TextBox ID="txt_auth" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="验证码不能为空" ControlToValidate="txt_auth" ForeColor="Red"></asp:RequiredFieldValidator>
        </p>
    <p>
        <asp:Button ID="btn_Register" runat="server" OnClick="btn_Register_Click" Text="免费注册" CssClass="mui-btn-green" />
        </p>
    </form>
    </body>
</html>
